<?php
/**
 * 商场
 * @author Administrator
 */
class MallAction extends CommonAction
{
	public function index(){
	}

	/**
	 * 获取商场楼层信息
	 * @author ice <iceinto@mallog.com.cn>
	 */
	public function getFloor(){
		$mid = intval(getGet('mid'));
		$floorList = D('Mall')->getFloorList($mid);
		$this->ajaxReturn($floorList);
	}

	/**
	 * 获取商场楼层品牌
	 * @author ice <iceinto@mallog.com.cn>
	 */
	public function getBrand(){
		$fid = intval(getGet('fid'));
		$brands = D('Mall')->getFloorBrandList($fid);
		$this->ajaxReturn($brands);
	}
}
?>